package com.blog.dto;

import java.time.LocalDateTime;

public class FavoriteDTO {
    private Integer articleId;
    private String title;
    private String content;
    private String username;
    private LocalDateTime createTime;

    public FavoriteDTO() {
    }

    public FavoriteDTO(Integer articleId, String title, String content, String username, LocalDateTime createTime) {
        this.articleId = articleId;
        this.title = title;
        this.content = content;
        this.username = username;
        this.createTime = createTime;

    }

    public Integer getArticleId() {
        return articleId;
    }

    public void setArticleId(Integer articleId) {
        this.articleId = articleId;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }
}
